import fetch from '@/utils/fetch'

export function getAlarmInfoList(areaId, params) {
	return fetch({
		url: '/device/v1/mgt/alarm_info',
	    method: 'get',
	    headers: {'x-area-id': areaId},
	    params
	})
}

export const alarmTypeList = {
	1: '设备告警',
	2: '能耗告警'
};